import { Module } from '@nestjs/common';
import { TypeOrmModule } from "@nestjs/typeorm";
import { OrderEntity } from "./order.entity";
import { OrderController } from "./order.controller";
import { OrderService } from "./order.service";
import { OrderItemEntity } from './order-item.entity';
import { CartEntity } from '../cart/cart.entity';
import { ProductEntity } from '../product/product.entity';
import { DeliveryAddressEntity } from '../deliveryAddress/delivery-address.entity';
import {MemberEntity} from "../member/member.entity";
import {PayWaterEntity} from "../payWater/pay-water.entity";

@Module({
    imports: [TypeOrmModule.forFeature([OrderEntity, OrderItemEntity, CartEntity, ProductEntity, DeliveryAddressEntity, MemberEntity, PayWaterEntity])],
    controllers: [OrderController],
    providers: [OrderService],
})
export class OrderModule { }
